package com.huixuebao.exchange.service;


import com.huixuebao.common.bean.ApiResult;
import com.huixuebao.exchange.dto.MechanismAttributeDTO;
import com.huixuebao.exchange.dto.MechanismDTO;
import com.huixuebao.exchange.dto.MechanismPolicyDTO;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public interface MechanismService {

    ApiResult<List<MechanismDTO>> getRestAssuredMechanism(Integer current, Integer size, String cityIds, String merchantsName, String merchantsState, String contactsName,
                                                          String contactsPhone);

    ApiResult getMechanismItem(String id);

    ApiResult<List<MechanismDTO>> getMechanismList(Integer current, Integer size);

    ApiResult addMechanismPolicyNews(MechanismPolicyDTO mechanismPolicyDTO);
}
